import request from '../utils/request'

export function getCommentsPageList(params) {
    return request({
      url: '/comments/list',
      method: 'get',
      params: {
        ...params
      }
    })
}
export function getCommentsById(id) {
    return request({
      url: '/comments/getById/'+id,
      method: 'get',
    })
}
export function deleteCommentsById(id) {
    return request({
      url: '/comments/delete/'+id,
      method: 'delete',
    })
}



